﻿CREATE TABLE [dbo].[Incident](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[Title] [nvarchar](150) NOT NULL,
	[Casualty] [nvarchar](150) NOT NULL,
	[Description] [nvarchar](250) NOT NULL,
	[InjuryType] [nvarchar](150) NOT NULL,
	[InjuryLocation] [nvarchar](150) NOT NULL,
	[DateOfIncident] [datetime] NOT NULL,
 CONSTRAINT [PK_Incident] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]
GO

insert into Incident (Title,Casualty,[Description],InjuryType,InjuryLocation,DateOfIncident)
values('Accident with Vertical Cutter', 'John Phillips','John had a little mishap on the 3rd floor', 'Cut', 'Arm', GETDATE()-1)

insert into Incident (Title,Casualty,[Description],InjuryType,InjuryLocation,DateOfIncident)
values('Hot Coffee Accident', 'Maver Riley','Maver spilt hot coffee on her leg', 'Burn', 'Leg', GETDATE()-2)

insert into Incident (Title,Casualty,[Description],InjuryType,InjuryLocation,DateOfIncident)
values('Broken Finger', 'Denver Stuart','Denver broke his finger', 'Fracture', 'Finger', GETDATE()-3)

insert into Incident (Title,Casualty,[Description],InjuryType,InjuryLocation,DateOfIncident)
values('Lack of hardhat', 'Danny Winship','Danny got a knock on the head and suffered concussion', 'Concussion', 'Head', GETDATE())

insert into Incident (Title,Casualty,[Description],InjuryType,InjuryLocation,DateOfIncident)
values('Eye infection', 'Figgins Branson','Figgins got something stuck in his eye and it became infected', 'Infection', 'Eye', GETDATE()-3)
